﻿package mortal.game.view.skill.test
{
    import com.mui.containers.globalVariable.*;
    import com.mui.controls.*;
    import fl.data.*;
    import mortal.component.window.*;
    import mortal.game.view.common.*;

    public class SkillThreadModule extends Window
    {
        private var _txtTitle:GTextFiled;
        private var _list:GTileList;

        public function SkillThreadModule()
        {
            setSize(230, 200);
            return;
        }// end function

        public function updateList(param1:DataProvider) : void
        {
            this._list.dataProvider = param1;
            this._list.drawNow();
            return;
        }// end function

        override public function show(param1:int = 0, param2:int = 0) : void
        {
            super.show(1000, 100);
            return;
        }// end function

        override protected function createDisposedChildrenImpl() : void
        {
            super.createDisposedChildrenImpl();
            this._txtTitle = UIFactory.gTextField("boss仇恨", 0, 0, 200, 20, this);
            this._list = UIFactory.tileList(0, 30, 200, 200, this);
            this._list.columnWidth = 180;
            this._list.rowHeight = 18;
            this._list.direction = GBoxDirection.VERTICAL;
            this._list.setStyle("cellRenderer", SkillChouHenTestRender);
            return;
        }// end function

        override protected function disposeImpl(param1:Boolean = true) : void
        {
            super.disposeImpl(param1);
            this._txtTitle.dispose(param1);
            this._txtTitle = null;
            this._list.dispose(param1);
            this._list = null;
            return;
        }// end function

    }
}
